 /*
    reset element-ui default css
*/

 .el-tree .el-tree-node__content {
   height: 40px;
 }

 /*标签门店*/
 .app-tag-shop-cascade {
   .el-cascader-menu:first-child {
     //.el-checkbox__input {
     //  display: none;
     //}
     .el-checkbox__inner{
       width: 16px;
       height: 16px;
       border-radius: 50%;
       &::after{
         left:5px;
         top:2px;
       }
       &::before{
         top:6px;
       }
     }
   }
   .el-cascader-menu:not(:first-child)  .el-checkbox {
     width: 100%;
     height: 100%;
     padding: 0 10px;
     z-index: 10;
     line-height: 34px;
     left: 0;
     position: absolute;
   }
 }



 /*
    todo
    暂时解决表单校验嵌套input样式问题
*/
 /* 格式化上传 */
 .el-upload {
   input[type="file"] {
     display: none !important;
   }
 }

 .el-upload__input {
   display: none;
 }

 .app-uploader-img-plus {
   border: 1px dashed #d9d9d9;
   border-radius: 6px;
   cursor: pointer;
   position: relative;
   overflow: hidden;
 }

 /* 图片 */
 .el-image {
   width: 100%;
   height: 100%;
 }

 /* 暂时性解决diolag */
 .el-dialog {
   transform: none;
   left: 0;
   position: relative;
   margin: 0 auto;
 }

 body .el-table th.gutter {
   display: table-cell !important;
 }

 body .el-table colgroup.gutter {
   display: table-cell !important;
 }


 /* 重置dialog弹框样式 */
 .el-dialog {
   overflow: hidden;
   border-radius: 5px !important;

   .el-dialog__header {
     margin: 0 30px;
     padding: 20px 0 !important;
     border-bottom: 1px solid #e6e6e6;

     .el-dialog__title {
       line-height: 20px;
       font-size: 16px;
       font-weight: 600;
     }

     .el-dialog__headerbtn {
       right: 30px;
       font-size: 20px;
     }
   }

   .el-dialog__body {
     padding: 16px 40px 16px 40px !important;
   }

   .el-dialog__footer {
     padding: 10px 40px 26px 40px !important;
   }
 }

 .el-pagination {
   text-align: center !important;
 }

 /* 重置输入框样式 */
 .el-input__inner {
   color: $dark-font-color !important;
 }

 input:-webkit-input-placeholder {
   color: $light-font-color;
 }

 input:-moz-placeholder {
   color: $light-font-color;
 }

 input:-moz-placeholder {
   color: $light-font-color;
 }

 input:-ms-input-placeholder {
   color: $light-font-color;
 }

 .el-textarea .el-input__count {
   line-height: 1;
 }

 /* 重置表格 */
 .el-table th {
   //background-color: #f0f1f5 !important;
 }

 .el-table__fixed-right-patch {
   //background-color: #f0f1f5 !important;
 }

 /* 重置selecet */
 .el-input-group__prepend {
   background-color: #fff;
 }


 ///* 覆盖tree  */
 //.halo-tree {
 //  .node-selected {
 //    border: none !important;
 //  }
 //
 //  .box-halfchecked {
 //    background-color: #fff !important;
 //  }
 //
 //  .node-title.node-searched {
 //    border: none !important;
 //  }
 //
 //  .inputCheck.box-checked:after {
 //    color: #fff;
 //  }
 //
 //  .inputCheck .check {
 //    top: -2px;
 //    left: -2px;
 //  }
 //}

 .el-carousel__indicators--horizontal {
   width: 100%;
   text-align: center;
 }

 //  .el-tree-node.is-current {
 //    background: rgba(77, 130, 243, 0.1);
 //    color: #4D82F3;
 //  }

 //  .custom-sky .el-tree-node__content:hover {
 //    background: rgba(77, 130, 243, 0.1);
 //  }
 // 弧度 el-dropdown 按钮组
 .el-button-group {
   >.el-button--medium:first-child {
     border-top-left-radius: 20px;
     border-bottom-left-radius: 20px;
   }

   >.el-button--medium:last-child {
     border-top-right-radius: 20px;
     border-bottom-right-radius: 20px;
   }

   >.el-button--small {
     height: 32px;
   }

   >.el-button--small:first-child {
     border-top-left-radius: 16px;
     border-bottom-left-radius: 16px;
   }

   >.el-button--small:last-child {
     //  height: 32px;
     border-top-right-radius: 16px;
     border-bottom-right-radius: 16px;
   }
 }

 // 表格按钮取消上下边距
 .el-table {
   .el-button {
     padding-top: 0;
     padding-bottom: 0;
   }

   .el-button:not(:last-child) {
     margin-right: 10px;
   }

   .el-button+.el-button {
     margin-left: 0;
   }
 }

 /* 格式化多选单选 label问题 */
 .el-cascader-panel .el-radio {
   width: 100%;
   height: 100%;
   padding: 0 10px;
   z-index: 10;
   height: 34px;
   line-height: 34px;
   right: 0;
   position: absolute;
 }

 .el-cascader-panel .el-radio__input {
   //  visibility: hidden;
 }

 .el-cascader-panel .el-cascader-node__postfix {
   top: 10px;
 }

 .el-popup-parent--hidden {
   overflow: hidden;
 }
